<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{$L.CREATE_EVENT} - {$L.EVENT_STEP2}</title>
<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/dpl.css" rel="stylesheet">
<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/bui.css" rel="stylesheet">
<script src="http://g.tbcdn.cn/fi/bui/jquery-1.8.1.min.js"></script>
<script src="http://g.alicdn.com/bui/seajs/2.3.0/sea.js"></script>
<script src="http://g.alicdn.com/bui/bui/1.1.10/config.js"></script>
<script src="/assets/kxdr/steps.js"></script>
</head>
<body style="width:990px;margin:0 auto;padding:10px 0;">
 <div class="doc-content">
    <div class="panel">
      <div class="panel-body">
	  
	  <div class="row">
		<div class="span24 doc-content">
		<h3 class="pull-left">{$L.APP_HOME} >> {$L.APP_NAME} >> {$L.APP_ADD_EVENT}</h3>
		<a class="button pull-right" style="margin-left:10px" href="/"><i class="icon-home"></i>{$L.SYS_RETURN}</a>
		<a class="button pull-right" style="margin-left:10px" href="/?a=gamecfg&m=shopadmin&repick=1"><i class="icon-refresh"></i>重新选择活动类型</a>
		<a class="button button-success pull-right" href="/?m=Kxdr&c=Index&a=Index"><i class="icon icon-home icon-white"></i></a>
		</div>
	  </div>
	  </div>
	  </div>
	  </div>
 <div class="doc-content">
    <div class="panel">
      <div class="panel-header">
        <h3>{$L.CREATE_EVENT}</h3>
      </div>
      <div class="panel-body">
	  <div class="flow-steps" style="margin:0 auto;width:948px">
		  <ol class="num4">
			<li class="first current-prev">1.{$L.EVENT_STEP1}</li>
			<li class="current">2.{$L.EVENT_STEP2}</li>
			<li class="">3.{$L.EVENT_STEP3}</li>
			<li class="last">4.{$L.EVENT_STEP4}</li>
		  </ol>
		</div>
		<div class="row show-grid">
	  <div class="span8 offset1">
		<div class="panel">
		  <div class="panel-header clearfix">
			<h3 class="pull-left">{$L.EVENT_STEP2_PICK_PLAYER}</h3>
			<div id="tbar" class="pull-right"></div>
		  </div>
		  <div class="panel-body js-load" data-gameid="{$game_id}" data-tp="player"  data-url="/?m=Kxdr&c=Gameset&a=loadplayers" data-rtitle="{$L.EVENT_STEP2_ALLPLAYERS}" id= "t1">
		  </div>
		</div>
	  </div>
	  <div class="span15">
	  	<ul class="breadcrumb">
			<li class="active"> {$start|date_format:'%m月%d日'}{$L.EVENT_STEP2_TIP_START} - {$descrip}</li>
		  </ul>
		<form id="J_Form" class="form-horizontal" method="post" action="/?m=Kxdr&c=Index&a=step3">
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">{$L.EVENT_STEP2_EVENT_NAME}：</label>
            <div class="controls">
              <input name="event_title" type="text" value="{$event_title|default:""}" data-rules="{ldelim}required:true{rdelim}" data-messages="{ldelim}required:'{$L.EVENT_STEP2_EVENT_NAME_TIP1}'{rdelim}" class="input-large control-text "  data-tip="{ldelim}text:'{$L.EVENT_STEP2_EVENT_NAME_TIP2}'{rdelim}">
			  <span class="label label-success float-right js-title-ex" style="cursor:pointer">{$L.EVENT_STEP2_EXAMPLE}</span>
            </div>
          </div>
        </div>
		<div class="row">
          <div class="control-group span15">
            <label class="control-label">{$L.PLAYER}：</label>
            <div class="controls">
			  <input name="player_id" type="hidden" data-rules="{ldelim}required:true{rdelim}" data-messages="{ldelim}required:'{$L.EVENT_STEP2_PLAYER_TIP1}'{rdelim}" value="{$player_id|default:""}" class="js-playerid" />
              <input name="player" type="text" value="{$player|default:""}" data-rules="{ldelim}required:true{rdelim}" data-messages="{ldelim}required:'{$L.EVENT_STEP2_PLAYER_TIP1}'{rdelim}" class="input-large control-text js-dwdy" readonly="readonly" data-tip="{ldelim}text:'{$L.EVENT_STEP2_PLAYER_TIP1}'{rdelim}">
            </div>
          </div>
        </div>
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">{$L.EVENT_STEP2_PLAYER_DESCRIP}：</label>
            <div class="controls control-row4">
              <textarea data-tip="{ldelim}text:'{$L.EVENT_STEP2_PLAYER_DESCRIP_TIP}'{rdelim}" name="descrip" class="input-large" type="text">{$player_descrip|default:""}</textarea>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">{$L.EVENT_STEP2_GUESS}：</label>
            <div class="controls">
              <div id="s2">
				  <input type="hidden" class="js-cffsval" value="{$cffs|default:""}" name="cffs">
				  <input name="savecffs" type="text" class="input-small control-text js-cffs" style="display:none" value="{$cffs|default:""}">
			  </div>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">{$L.EVENT_STEP2_GUESS_WAY}：</label>
            <div class="controls">
			  <div id="s7">
				  <input type="hidden" class="js-zmcval" value="{$zmc|default:""}" name="zmc">
				  <input type="text" class="input-small control-text js-zmc" style="display:none" value="{$zmc|default:""}">
			  </div>
			  </div>
          </div>
        </div>
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">{$L.EVENT_STEP2_STOPTIME}：</label>
            <div class="controls">
              <div id="s3">
				  <input type="hidden" class="js-jzsjval" value="{$jzsj|default:""}" name="jzsj">
				  <input type="radio" name="jzfs" {if $jzfs==0}checked="checked"{/if} value="0"/>{$L.EVENT_STEP2_STOPTIME_BEFORE}
				  <input type="radio" name="jzfs"  {if $jzfs==1}checked="checked"{/if}value="1"/>{$L.EVENT_STEP2_STOPTIME_AFTER}
				  <input name="id" type="text" class="input-small control-text js-jzsj" style="display:none" value="0">
			  <span class="x-icon x-icon-error pull-right helper" data-msg="{$L.EVENT_STEP2_STOPTIME_TIP}" style="margin:4px 0 0 5px;cursor:pointer">?</span>
			  </div>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">{$L.EVENT_STEP2_GIFTINGTIME}：</label>
            <div class="controls bui-form-group" data-rules="{ldelim}dateRange : true{rdelim}">
              <input name="gifting_time" value="{$gifting_time|default:""}" data-tip="{ldelim}text : '{$L.EVENT_STEP2_GIFTINGTIME}'{rdelim}" data-rules="{ldelim}required:true{rdelim}" data-messages="{ldelim}required:'{$L.EVENT_STEP2_GIFTINGTIME_TIP2}'{rdelim}" class="input-small calendar calendar-time js-bssj" type="text"><label>&nbsp;-&nbsp;</label>
              <span class="auxiliary-text">{$L.EVENT_STEP2_GIFTINGTIME_TIP1}</span>
			</div>
          </div>
        </div>
        <div class="row">
          <div class="control-group span15">
            <label class="control-label">{$L.EVENT_STEP2_JIFEN}：</label>
            <div class="controls">
              <div id="s1">
				  <input type="hidden" class="js-cyjf" value="{$cyjf|default:""}" name="cyjf">
				  <input name="id" type="text" class="input-small control-text js-jfinput" style="display:none" value="{$cyjf|default:""}">
			  <span class="x-icon x-icon-error pull-right tipShow" style="margin:4px 0 0 5px;cursor:pointer">?</span>
			  </div>
            </div>
          </div>
        </div>
        <div class="row form-actions actions-bar" style="margin-left:0">
            <div class="span13 offset5 ">
              <button type="submit" class="button button-primary">{$L.EVENT_NEXT_STEP}</button>
                <a href="/?m=Kxdr&c=Index&a=step1">{$L.EVENT_PREV_STEP}</a>
            </div>
        </div>
    </form>
	  </div>
</div>
</body>
</html>